Skip to content

chore(deps): security update — 0c 11h 16m 1l → 0c 3h 4m 1l#11

Merged
VickyXAI merged 3 commits into
mainfrom
chore/dep-security
Jun 29, 2026
Merged

chore(deps): security update — 0c 11h 16m 1l → 0c 3h 4m 1l#11
VickyXAI merged 3 commits into
mainfrom
chore/dep-security

Conversation

@VickyXAI

Copy link
Copy Markdown
Contributor

Dependency security update

Conservative, in-range dependency remediation. Review + QA before merge.

What changed

  • npm update — semver-safe, in-range refresh of the dependency tree. This notably bumped the openclaw devDependency 2026.4.21 → 2026.5.7, which clears the bulk of the advisories (most were transitive through openclaw's tree: @anthropic-ai/sdk, basic-ftp, hono, fast-xml-*, etc.).
  • Added overrides to package.json:
    • ws^8.21.0 (clears the vulnerable ws nested under viem — memory-exhaustion DoS GHSA-96hv-2xvq-fx4p)
    • postcss^8.5.10 (floor; already resolves to 8.5.16)
  • Only package.json + package-lock.json are committed.

Not changed (deliberate, documented residual)

  • vitest left at ^4.1.3 (already newer than any security floor — no downgrade).
  • No next / @vitest/coverage-v8 present.
  • uuid left at v9-line (v9→v11 is a risky major; transitive via openclaw dev tooling).

Audit: before → after

  • Before: 0 critical, 11 high, 16 moderate, 1 low (28 total)
  • After: 0 critical, 3 high, 4 moderate, 1 low (8 total)

Residual advisories are all dev-only, transitive through the openclaw devDependency toolchain and require breaking/major bumps: esbuild, markdown-it, tar, undici, uuid, @mariozechner/pi-coding-agent. None affect the published runtime deps (@scure/*, @solana/kit, @x402/*, viem).

Build / test status

  • Build passes (npm run build / tsup — clean ESM + DTS).
  • ⚠️ Tests: 492 passed, 2 failed, 3 skipped. The 2 failures are both in test/integration/security-scanner.test.ts (result.findings is undefined). Root cause: the in-range openclaw 2026.4.21 → 2026.5.7 bump changed the shape of openclaw's security-scanner result. This is a dev-only integration test against openclaw's API, not a runtime/build/compile failure, and not caused by any next/vitest bump (none applied here).
    • Reviewer action: either update security-scanner.test.ts for openclaw 2026.5.7's new scanner result shape, or pin openclaw back to 2026.4.21 (which would re-introduce some of the cleared dev-tree advisories).

⚠️ Human review + QA required before merge. Do not auto-merge.

@VickyXAI VickyXAI force-pushed the chore/dep-security branch from 78ad9fb to 952f0f5 Compare June 29, 2026 17:27
@VickyXAI VickyXAI merged commit 53fedf0 into main Jun 29, 2026
3 checks passed
@VickyXAI VickyXAI deleted the chore/dep-security branch June 29, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant